package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2024-12-12
 */
@TableName("adms_try_job_allocation")
@ApiModel(value = "TryJobAllocation对象", description = "")
@Data
public class TryJobAllocation implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("简历id")
    private Long recruitId;

    @ApiModelProperty("学校id")
    private Long schoolId;

    @ApiModelProperty("岗位id")
    private Long stationId;

    @ApiModelProperty("审核id")
    private Long auditId;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("试岗时间")
    private LocalDate tryDate;

    @ApiModelProperty("拒绝原因")
    private String refusalReason;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

}
